/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.actnode.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 流程节点Entity
 * @author 流程职责
 * @version 2023-10-19
 */
public class ActWorflownode extends DataEntity<ActWorflownode> {

	private static final long serialVersionUID = 1L;
	private ActWorflow 	upper;		// 主id 父类
	private String 		actnode;			// 节点名称
	private String 		workcontent;		// 岗位职责描述
	private Integer 	time;			// 预计用时
	private int 		sort;			// 预计用时

	public ActWorflownode() {
		super();
	}

	public ActWorflownode(String id){
		super(id);
	}

	public ActWorflownode(ActWorflow upper){
		this.upper = upper;
	}

	public ActWorflow getUpper() {
		return upper;
	}

	public void setUpper(ActWorflow upper) {
		this.upper = upper;
	}

	@ExcelField(title="节点名称", align=2, sort=8)
	public String getActnode() {
		return actnode;
	}

	public void setActnode(String actnode) {
		this.actnode = actnode;
	}

	@ExcelField(title="岗位职责描述", align=2, sort=9)
	public String getWorkcontent() {
		return workcontent;
	}

	public void setWorkcontent(String workcontent) {
		this.workcontent = workcontent;
	}

	@ExcelField(title="预计用时", align=2, sort=10)
	public Integer getTime() {
		return time;
	}

	public void setTime(Integer time) {
		this.time = time;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}
}
